package com.ruoyi.answer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.answer.entity.Question;

/**
 * 题目Mapper接口
 *
 * @author yx
 * @date 2020-11-17
 */
public interface QuestionMapper extends BaseMapper<Question>
{

    /**
     * 删除题目
     *
     * @param id 题目ID
     * @return 结果
     */
    public int deleteQuestionById(Long id);

    /**
     * 批量删除题目
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteQuestionByIds(String[] ids);
}
